/*
 *Archive file header structure layout.
 *|-file_name_size-|----file_name-----|--size--|--offset--|
 *      4 bytes          x bytes        4 bytes  4 bytes
 *
 * Maximum size of the header is 256 bytes
 *
 * file_name_size     indicates the length of the file name
 * file_name          indicates the name of the file
 * size               indicates the size of the file
 * offset             indicates the start location of the file in archive
 */

#import <Cocoa/Cocoa.h>
#define ArchiveFileHeader_Size 256

@interface ArchiveFileHeader : NSObject 
{
	NSString *_fileName;
	int _size;
	int _offset;
}

-(id) init;
-(id) initWithFileName:(NSString*) fileName andSize:(int) size andOffset:(int) offset;

@property(retain) NSString *FileName;
@property int Size;
@property int Offset;

@end
